package com.nf.health.app.models;

import java.util.List;

public class HealthyIndext {
	private String describe;
	private String health;
	private String hour;
	private int majoreval;
	private int recomsport;
	private int notice;
	private String score;
	
	public String getHour() {
		return hour;
	}

	public void setHour(String hour) {
		this.hour = hour;
	}

	@Deprecated
	private List<Recommend> recommend;
	@Deprecated
	private int complete;
	@Deprecated
	private int total;

	public int getComplete() {
		return complete;
	}

	public void setComplete(int complete) {
		this.complete = complete;
	}

	public String getDescribe() {
		return describe;
	}

	public int getMajoreval() {
		return majoreval;
	}

	public void setMajoreval(int majoreval) {
		this.majoreval = majoreval;
	}

	public int getRecomsport() {
		return recomsport;
	}

	public void setRecomsport(int recomsport) {
		this.recomsport = recomsport;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

	public String getHealth() {
		return health;
	}

	public void setHealth(String health) {
		this.health = health;
	}

	public int getNotice() {
		return notice;
	}

	public void setNotice(int notice) {
		this.notice = notice;
	}

	public List<Recommend> getRecommend() {
		return recommend;
	}

	public void setRecommend(List<Recommend> recommend) {
		this.recommend = recommend;
	}

	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}
//
//	@Override
//	public String toString() {
//		return "HealthyIndext [complete=" + complete + ", describe=" + describe
//				+ ", health=" + health + ", notice=" + notice + ", score=" + score + ", total=" + total + "]";
//	}

	/**
	 *{
    "code": "0",
    "data": {
        "complete": 0,
        "describe": "您身体状态良好，要多注意保养",
        "health": "良好",
        "notice": 1,
        "recommend": [
            {
                "name": "我的血糖",
                "type": "bloodsugar",
                "value": []
            },
            {
                "name": "我的血压",
                "type": "blood",
                "value": []
            },
            {
                "name": "我的手环",
                "type": "bracelet",
                "value": []
            },
            {
                "name": "我的尿检",
                "type": "urine",
                "value": []
            },
            {
                "name": "我的体重",
                "type": "balance",
                "value": [
                    {
                        "column": "height",
                        "name": "身高",
                        "unit": "cm",
                        "value": "175.0"
                    },
                    {
                        "column": "weight",
                        "name": "体重",
                        "unit": "kg",
                        "value": "36.0"
                    }
                ]
            }
        ],
        "score": 80,
        "total": 0
    },
    "msg": "",
    "success": true
}
	 */
}
